home *** CD-ROM | disk | FTP | other *** search
Wrap
mmmmoooouuuunnnntttt((((2222)))) mmmmoooouuuunnnntttt((((2222)))) NNNNAAAAMMMMEEEE _mmmm_oooo_uuuu_nnnn_tttt - mount a file system CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>> _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_mmmm_oooo_uuuu_nnnn_tttt_...._hhhh_>>>> _iiii_nnnn_tttt _mmmm_oooo_uuuu_nnnn_tttt _((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_ssss_pppp_eeee_cccc_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_dddd_iiii_rrrr_,,,, _iiii_nnnn_tttt _mmmm_ffff_llll_aaaa_gggg_,,,, _...._...._...._////_**** _cccc_hhhh_aaaa_rrrr _****_ffff_ssss_tttt_yyyy_pppp_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_dddd_aaaa_tttt_aaaa_pppp_tttt_rrrr_,,,, _iiii_nnnn_tttt _dddd_aaaa_tttt_aaaa_llll_eeee_nnnn_****_////_))))_;;;; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _mmmm_oooo_uuuu_nnnn_tttt requests that a removable file system contained on the block special file identified by _s_p_e_c be mounted on the directory identified by _d_i_r. _s_p_e_c and _d_i_r are pointers to path names. _f_s_t_y_p is the file system type number. The _ssss_yyyy_ssss_ffff_ssss(2) system call can be used to determine the file system type number. If both the _MMMM_SSSS______DDDD_AAAA_TTTT_AAAA and _MMMM_SSSS______FFFF_SSSS_SSSS flag bits of _m_f_l_a_g are off, the file system type defaults to the root file system type. Only if either flag is on is _f_s_t_y_p used to indicate the file system type. If the _MMMM_SSSS______DDDD_AAAA_TTTT_AAAA flag is set in _m_f_l_a_g the system expects the _d_a_t_a_p_t_r and _d_a_t_a_l_e_n arguments to be present. Together they describe a block of file-system specific data at address _d_a_t_a_p_t_r of length _d_a_t_a_l_e_n. This is interpreted by file-system specific code within the operating system and its format depends on the file system type. If a particular file system type does not require this data, _d_a_t_a_p_t_r and _d_a_t_a_l_e_n should both be zero. Note that _MMMM_SSSS______FFFF_SSSS_SSSS is obsolete and is ignored if _MMMM_SSSS______DDDD_AAAA_TTTT_AAAA is also set, but if _MMMM_SSSS______FFFF_SSSS_SSSS is set and _MMMM_SSSS______DDDD_AAAA_TTTT_AAAA is not, _d_a_t_a_p_t_r and _d_a_t_a_l_e_n are both assumed to be zero. After a successful call to _mmmm_oooo_uuuu_nnnn_tttt, all references to the file _d_i_r refer to the root directory on the mounted file system. The low-order bit of _m_f_l_a_g is used to control write permission on the mounted file system: if _1111, writing is forbidden; otherwise writing is permitted according to individual file accessibility. _mmmm_oooo_uuuu_nnnn_tttt may be invoked only by a process with the super-user privilege. It is intended for use only by the _mmmm_oooo_uuuu_nnnn_tttt utility. _mmmm_oooo_uuuu_nnnn_tttt fails if one or more of the following are true: _EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Search permission is denied on a component of _d_i_r or _s_p_e_c. _EEEE_PPPP_EEEE_RRRR_MMMM The calling process does not have the super-user privilege. _EEEE_BBBB_UUUU_SSSS_YYYY _d_i_r is currently mounted on, is someone's current working directory, or is otherwise busy. PPPPaaaaggggeeee 1111 mmmmoooouuuunnnntttt((((2222)))) mmmmoooouuuunnnntttt((((2222)))) _EEEE_BBBB_UUUU_SSSS_YYYY The device associated with _s_p_e_c is currently mounted. _EEEE_BBBB_UUUU_SSSS_YYYY There are no more mount table entries. _EEEE_FFFF_AAAA_UUUU_LLLL_TTTT _s_p_e_c, _d_i_r, or _d_a_t_a_l_e_n points outside the allocated address space of the process. _EEEE_IIII_NNNN_VVVV_AAAA_LLLL The super block has an invalid magic number or the _f_s_t_y_p is invalid. _EEEE_LLLL_OOOO_OOOO_PPPP Too many symbolic links were encountered in translating _s_p_e_c or _d_i_r. _EEEE_NNNN_AAAA_MMMM_EEEE_TTTT_OOOO_OOOO_LLLL_OOOO_NNNN_GGGG The length of the _p_a_t_h argument exceeds {_PPPP_AAAA_TTTT_HHHH______MMMM_AAAA_XXXX}, or the length of a _p_a_t_h component exceeds {_NNNN_AAAA_MMMM_EEEE______MMMM_AAAA_XXXX} while ______PPPP_OOOO_SSSS_IIII_XXXX______NNNN_OOOO______TTTT_RRRR_UUUU_NNNN_CCCC is in effect. _EEEE_NNNN_OOOO_EEEE_NNNN_TTTT None of the named files exists or is a null pathname. _EEEE_NNNN_OOOO_TTTT_DDDD_IIII_RRRR A component of a path prefix is not a directory. _EEEE_RRRR_EEEE_MMMM_OOOO_TTTT_EEEE _s_p_e_c is remote and cannot be mounted. _EEEE_NNNN_OOOO_LLLL_IIII_NNNN_KKKK _p_a_t_h points to a remote machine and the link to that machine is no longer active. _EEEE_MMMM_UUUU_LLLL_TTTT_IIII_HHHH_OOOO_PPPP Components of _p_a_t_h require hopping to multiple remote machines and the file system type does not allow it. _EEEE_TTTT_IIII_MMMM_EEEE_DDDD_OOOO_UUUU_TTTT A component of _p_a_t_h is located on a remote file system which is not available [see _iiii_nnnn_tttt_rrrr_oooo(2)]. _EEEE_NNNN_OOOO_TTTT_BBBB_LLLL_KKKK _s_p_e_c is not a block special device. _EEEE_NNNN_XXXX_IIII_OOOO The device associated with _s_p_e_c does not exist. _EEEE_NNNN_OOOO_TTTT_DDDD_IIII_RRRR _d_i_r is not a directory. _EEEE_RRRR_OOOO_FFFF_SSSS _s_p_e_c is write protected and _m_f_l_a_g requests write permission. _EEEE_NNNN_OOOO_SSSS_PPPP_CCCC The file system state in the super-block is not _FFFF_ssss_OOOO_KKKK_AAAA_YYYY and _m_f_l_a_g requests write permission. _EEEE_2222_BBBB_IIII_GGGG The file system's size parameters are larger than the size of special device _s_p_e_c. Either _mmmm_kkkk_ffff_ssss(1M) was run on a different overlapping device or the device has been changed with _ffff_xxxx(1M) since _mmmm_kkkk_ffff_ssss was run. _EEEE_FFFF_SSSS_CCCC_OOOO_RRRR_RRRR_UUUU_PPPP_TTTT_EEEE_DDDD The filesystem has a corruption forcing failure of the mount. PPPPaaaaggggeeee 2222 mmmmoooouuuunnnntttt((((2222)))) mmmmoooouuuunnnntttt((((2222)))) _EEEE_WWWW_RRRR_OOOO_NNNN_GGGG_FFFF_SSSS The wrong filesystem type was supplied in _f_s_t_y_p, or there is no filesystem on _s_p_e_c. NNNNOOOOTTTTEEEESSSS It is the responsibility of the caller to assure that the block size of the device corresponds to the blocksize of the filesystem being mounted. This is particularly important with CDROM devices, as the default block size of the device can vary between 512 bytes and 2048 bytes. The _mmmm_oooo_uuuu_nnnn_tttt(1M) command manages this for filesystems via _dddd_kkkk_ssss(7M) _DDDD_IIII_OOOO_CCCC_SSSS_EEEE_LLLL_FFFF_LLLL_AAAA_GGGG_SSSS and _DDDD_IIII_OOOO_CCCC_SSSS_EEEE_LLLL_EEEE_CCCC_TTTT ioctls. SSSSEEEEEEEE AAAALLLLSSSSOOOO _ffff_xxxx(1M), _mmmm_kkkk_ffff_ssss(1M), _mmmm_oooo_uuuu_nnnn_tttt(1M), _ssss_yyyy_ssss_ffff_ssss(2), _uuuu_mmmm_oooo_uuuu_nnnn_tttt(2), _dddd_kkkk_ssss(7M),_ffff_ssss(4), _xxxx_ffff_ssss(4) DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS Upon successful completion a value of 0 is returned. Otherwise, a value of -1 is returned and _eeee_rrrr_rrrr_nnnn_oooo is set to indicate the error. PPPPaaaaggggeeee 3333